﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: IntegralProductTypeEntity.cs
// 修改时间：2020-9-8 10:40:04
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：IntegralProductType 的实体类.
	/// </summary>
	[Table("IntegralProductType")]
	public partial class IntegralProductTypeEntity
	{
		#region Properties
		private int? _typeID = 0;
		/// <summary>
		/// 编号(主键)(自增长)
		/// </summary>
		[Column("TypeID",TypeName="int")]
		[Key]
		[MyFlag("Identity")]
		public int? TypeID
		{
			get {return _typeID;}
			set {_typeID = value;}
		}
		
		private System.String _typeName = string.Empty;
		/// <summary>
		/// 
		/// </summary>
		[Column("TypeName",TypeName="varchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String TypeName
		{
			get {return _typeName;}
			set {_typeName = value;}
		}
		
		private System.String _keyword = string.Empty;
		/// <summary>
		/// 关键字
		/// </summary>
		[Column("Keyword",TypeName="varchar(500)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Keyword
		{
			get {return _keyword;}
			set {_keyword = value;}
		}
		
		private System.String _description = string.Empty;
		/// <summary>
		/// 描述
		/// </summary>
		[Column("Description",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Description
		{
			get {return _description;}
			set {_description = value;}
		}
		
		private int? _eliteLevel = 0;
		/// <summary>
		/// 推荐级
		/// </summary>
		[Column("EliteLevel",TypeName="int")]
		public int? EliteLevel
		{
			get {return _eliteLevel;}
			set {_eliteLevel = value;}
		}
		
		private int? _parentID = 0;
		/// <summary>
		/// 父节点
		/// </summary>
		[Column("ParentID",TypeName="int")]
		public int? ParentID
		{
			get {return _parentID;}
			set {_parentID = value;}
		}
		
		#endregion
	}
}
